import java.io.IOException;
import java.util.List;


public class Test4 {
	public static void main(String []args) throws IOException{
		SystemCatologReport sys = new SystemCatologReport("syscatreport.txt");
		StorageManager mngr = new StorageManager("syscatreport.txt");
		TableRecord record = sys.findTheRecord("Urungu");
		System.out.println(record.getNumberOfTotalDataRecord());
		DataFile dataFile = new DataFile(record);
		System.out.println(dataFile.raf.read());
		System.out.println(dataFile.size());
		List<Integer> list = dataFile.firstAvailablePlace();
		System.out.println(list.size());
		System.out.println(list.get(0));
		System.out.println(list.get(1));
	}
}
